Call getgroups() to know size of supplementary groups array to allocate
authorRenaud Métrich <rmetrich@redhat.com>
Fri, 13 Sep 2019 09:18:18 +0000 (11:18 +0200)
committerMichael Biebl <biebl@debian.org>
Sun, 10 Nov 2019 23:58:41 +0000 (23:58 +0000)
commit2f3c9de2e667c3bab9d796280ea9cccf70665424
tree5a5ca6314724fe1091ea4fa31e453267de13a5b6
parentb3a399c9bc31d6fe64ebbc403c57047bbb95787b
Call getgroups() to know size of supplementary groups array to allocate

Resolves RHBZ #1743230 - journalctl dumps core when stack limit is reduced to 256 KB

(cherry picked from commit f5e0b942af1e86993c21f4e5c84342bb10403dac)
(cherry picked from commit 8ca1e561657575a619a071ab0c22f474094ef21d)

Gbp-Pq: Name Call-getgroups-to-know-size-of-supplementary-groups-array.patch
src/basic/user-util.c